<?php
class Login_Index_Model extends NICED_Model
{
	public function login($user_name, $password)
	{
        require_once(DIR_LIBRARY."orm".DS."accout".DS."accout.php");
        Accout::login($user_name, $password);
	}

    public function isLogin($session_id = NULL)
    {
        require_once(DIR_LIBRARY."orm".DS."accout".DS."accout.php");

        return Accout::isLogin();
    }
}//end class
